/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package OLD;

import OLD.*;
import com.sun.lwuit.List;
import com.sun.lwuit.events.ActionListener;
import com.sun.lwuit.plaf.Style;

/**
 *
 * @author eoinsavage
 */
public class ItinFri extends Menu{

    public ItinFri(ActionListener a){

        super("Friday","paper.jpg",a);

        //add a list
        String[] items = {"9:00 - Visit the Hugh Lane Gallery.",
        "12:00 - Have lunch on O'Connell Street.",
        "14:00 - Go shopping in Jervis St. Shopping Centre.",
        "17:00 - Have dinner in Johnnie Fox's Pub, in the Dublin Mountains.",
        "19:00 - Enjoy the Hooley Show at Johnnie Fox's.",
        "21:00 - Have one last pint in The Brazen Head, Ireland's oldest pub."};

        List todo = new List(items);
        todo.setScrollAnimationSpeed(2);
        todo.animate();
        Style style = todo.getStyle();
        style.setBgColor(0xaa00ff);
        style.setFgColor(0xffffff);
        todo.setStyle(style);
        todo.setSelectedStyle(style);
        todo.setIsScrollVisible(true);
        todo.setUIID("£todo");//Name list so it can be found - always place £ before name
        todo.setFocusPainted(false);
        this.addList(todo);
        this.setLayoutType(2);

        //add a button
        addButton("Itinerary","Itinerary","itinerary",color.Black);//to return to main menu


        }

}